(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/resources/script/business/shop/ShopClick.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, '9fd7a5cCvpCf5vCR1fERLIj', 'ShopClick', __filename);
// resources/script/business/shop/ShopClick.js

"use strict";

var beiMiCommon = require("BeiMiCommon");
cc.Class({
    extends: beiMiCommon,

    properties: {},
    onClick: function onClick(event, data) {
        /**
         * 发射事件到 上一级 处理
         */
        this.node.dispatchEvent(new cc.Event.EventCustom(data, true));
    }
});

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=ShopClick.js.map
        